package com.egao.common.core;

/**
 * 系统常量
 * @author system
 */
public class Constants {

    /** 返回结果代码 默认成功码 */
    public static final int RESULT_OK_CODE = 0;
    /** 返回结果代码 默认失败码 */
    public static final int RESULT_ERROR_CODE = 1;
    /** 返回结果代码 默认成功继续码 需要对业务进行判断处理 */
    public static final int RESULT_CONTINUE_CODE = 2;
    /** 返回结果代码 默认失败码 需要暂停业务处理当前返回结果 */
    public static final int RESULT_PAUSE_CODE = 501;


    /** TOKEN 过期时间,单位秒 */
    public static final Long TOKEN_EXPIRE_TIME = 1800L;
    /** TOKEN 将要过期自动刷新,单位分钟 */
    public static final int TOKEN_WILL_EXPIRE = 10;
    /** TOKEN 生成token的key */
    public static final String TOKEN_KEY = "AWsNsWJ7rNsKthjcB/Dv2RGB11Lsxk/QfIofJT+NrGg=";


    /** CAS 登录状态标记 */
    public static final String CAS_LOGIN_MARK = "cas_login";
    /** CAS 登出状态标记 */
    public static final String CAS_LOGOUT_MARK = "cas_logout";


    /** 字典缓存名称 */
    public static final String DICT_CACHE = "dictMap";

    /** 删除标记 正常 */
    public static final Integer DELETED_TRUE = 0;
    /** 删除标记 删除 */
    public static final Integer DELETED_FALSE = 1;

    /** 账户锁定状态 0正常 */
    public static final Integer USER_STATE = 0;
    /** 账户锁定状态 1锁定 */
    public static final Integer USER_STATE_LOCK = 1;

    /** 登录RSA账号密码解密私钥 */
    public static final String RSA_PRIVATE_KEY  = "MIIJQwIBADANBgkqhkiG9w0BAQEFAASCCS0wggkpAgEAAoICAQDdX6IiCZjhQr4XH6Ibn9fdTIl6Oa7uHpo8NJxKsrFFOzVj3ZIqdYqedrW5MzCOjdMkBEIhoOhAekMOjQOmgTMFgUzFaMefb/F8yL4CIUnksin83rliZGF48zarj1WhPFSHudOQcQJOpSZDwGaJmzlObut3gctdtKY8YAbGxONo8W4WtHL0sY+WRjeeqXb+yYOB396MsXTbNk4q0kZ86ozfEu/u0uP0K4GUXXIIW7V6mRssdAypoCNiytwNJx368ljB4ym+p6Zl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pAoIBAQDY35dylEng41Pvd1DHzP+wCfWaBSInYK+spcKUUqfdJED/uvcjAhYM3PGeZaJj1D5D+207wtMbkIOm3lOUkf714S0Jnt4M1+yKiw8q4QdsLCuiJmqP4SgMkUZOb+1CfZCeSEaDxOAGEZs2UPjT1Fth57chgwSI2k2XtbAoVb6O06PEC1nYT8ISnNHLq5ryEMVvIfC+QdSCFIvDYd+iz59QF1gvbZJEO2KJrlA+V2sqy1XO3uGbBqa1w3hVUEOGDm44frAohpCLQ4l8LnYdb0DYYli6NWwWuIenEf8tJhD0B03r4AL+yTw6iqHqqz0qtMDArTAYNyWJnArRNck5ex01AoIBABLiR+Ksf2heiVjh3IIZDYU8NPvvyHx49SVGy9LI7zvshap3yVPFZKa5jP8Lud+XoauZ6bLigiVojL0M/8RB0dYhQtu5CrLcKMXgJojpHGOSltg0COprCzYROuaiWqCeb+MM/IA4MAL+muXR3dHurft49VaQYuH6Pe1FjNM5SXTml2z1UC9ACfFaxNL5arePyT4ucZ1ftLSP7N2XJn25pkqZWMYIToKhpGEdFomlrVIXLEU58J4Gdcn/MH+vNF7HhcKbEzC+HPhDt2tKSD5I/dQ6aDp+Kbmjb64nvh0EcoXRz4B8yHw+CqGBBoVOkmLnE55B9A9M3M0DWLtMW0Iy7xg=";
    /** 登录RSA账号密码解密公钥 */
    public static final String RSA_PUBLIC_KEY  = "MIICIjANBgkqhkiG9w0BAQEFAAOCAg8AMIICCgKCAgEA3V+iIgmY4UK+Fx+iG5/X3UyJejmu7h6aPDScSrKxRTs1Y92SKnWKnna1uTMwjo3TJARCIaDoQHpDDo0DpoEzBYFMxWjHn2/xfMi+AiFJ5LIp/N65YmRhePM2q49VoTxUh7nTkHECTqUmQ8BmiZs5Tm7rd4HLXbSmPGAGxsTjaPFuFrRy9LGPlkY3nql2/smDgd/ejLF02zZOKtJGfOqM3xLv7tLj9CuBlF1yCFu1epkbLHQMqaAjYsrcDScd+vJYweMpvqemZUQ0IWTNhFOvgZq9JwhvUJVstKpekTsQRhdCVjIVqbm+UNlJyuxmC/owvBLvYEovj3PZY/xmTyTzhVC1zj62rYbnTDKcgXB0c1UhNdMJ3+YDNRoyUIyrsalPAI7YCMlzH3VmreC+Bxfx2F4Oi5EMiH82mDYl3vvXBfj/thw9dlkTucoS4GxVuUGtNKDI48Wl/1m1ihOCIQENmBYeU8dn+nfVqyRqMrlSlGegV3lhZKOM1usi+RhH29lVW3E7Ea9AjxSFSAfgnsCjvE8zp128+03RsohN+hUhhRYYPEJERgO+G3OZSaty6NQ3amf2Yn6pL4LAyGBGqksqw86/GonDPm7ivuZfkvgsgAgMiZv2ORLAvZZC2JwDcXbkLjhYrQKB8QLb5pVOTi3KAvLrL3hRGogggXMqpwXslo0CAwEAAQ==";

}
